package com.ruoyi.web.mnt.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.trans.core.TransField;
import com.ruoyi.trans.core.TransType;
import com.ruoyi.trans.core.bean.ITransVo;
import lombok.Data;

import java.util.Date;


/**
 * 设施巡维记录 mnt_history 视图对象
 *
 * @author LIUJUN
 * @date 2022-06-24
 */
@Data
@ExcelIgnoreUnannotated
public class MntHistoryVo implements ITransVo {

    private static final long serialVersionUID = 1L;

    /**
     * 维修记录ID
     */
    @TransField
    @ExcelProperty(value = "维修记录ID")
    private Long id;

    /**
     * 设施名称
     */
    @ExcelProperty(value = "设施名称")
    private String facilityName;

    /**
     * 负责人姓名
     */
    @ExcelProperty(value = "负责人姓名")
    private String mgrName;

    /**
     * 维保类型
     */
    @TransField(type = TransType.DICTIONARY, key = "mnt_type")
    private String mntType;

    /**
     * 维保类型
     */
    @ExcelProperty(value = "维保类型")
    private String mntTypeName;

    /**
     * 值班时间
     */
    @ExcelProperty(value = "值班时间")
    private Date dutyDate;

    private String createBy;

}
